package com.code.wordhelper.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class LibreOfficeConfig {
    @Value("${libreoffice.local.enable}")
    private Boolean enable;

    @Value("${libreoffice.local.office-home}")
    private String officeHome;

    @Value("${libreoffice.local.task-execution-timeout}")
    private Integer taskExecutionTimeout;

    @Value("${libreoffice.local.task-queue-timeout}")
    private Integer taskQueueTimeout;

    @Value("${libreoffice.local.port-numbers}")
    private Integer portNumbers;

    @Value("${libreoffice.local.process-timeout}")
    private Integer processTimeout;
}
